package cn.icatw.gulimall.product.dao;

import cn.icatw.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 *
 * @author icatw
 * @email 762188827@qq.com
 * @date 2022-02-21 13:01:13
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {
    /**
     *查找attrIds对应的搜索项
     * @param attrIds
     * @return java.util.List<java.lang.Long>
     */
    List<Long> selectSearchAttrIds(@Param("attrIds") List<Long> attrIds);
}
